/**
 * Created by Administrator on 2016/12/5.
 */
(function ($) {
    $(document).ready(function () {
        // 个人信息下拉框
        $("#index_login").on('click',function (e) {
            $(this).toggleClass("active").find('.user_message').toggleClass("active");
            $(document.body).off('click.foo');
            setTimeout(function () {
                $(document.body).on('click.foo',function () {
                    $('.user_message').removeClass('active');
                    $(document.body).off('click.foo');
                    
                })
            },100);
        });
    })
})(jQuery);